<template>
  <h3>
    <img :src="`home/${data.src}`" alt="">
    <span>{{ data.title }}</span>
  </h3>
</template>

<script>
export default {
  props: {
    data: {
      type: Object,
      default() {
        return {}
      }
    }
  }
}
</script>

<style lang="scss" scoped>
h3 {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  line-height: 60px;
  span {
    margin-left: 10px;
  }
}
</style>
